const express = require('express');
const router = express.Router();
const userController = require('../controllers/UserController');

router.get('/', userController.list);
router.post('/', userController.create);
router.get('/:userId', userController.getUser);
router.put('/:userId', userController.update);
router.delete('/:userId', userController.delete);

// ... 其他路由，例如登录、重置密码等

module.exports = router;